package com.hongshu.web.service.sys;

import com.hongshu.common.core.domain.NoteSearchVo;
import com.hongshu.web.domain.vo.DailyNewDataVO;
import com.hongshu.web.domain.vo.UserLocationVO;

import java.util.List;
import java.util.Map;

/**
 * 首页RestApi 业务层
 *
 * @author hongshu
 */
public interface ISysDashboardService {

    Map<String, Object> getInitData();

    Map<String, Object> getVisitByWeek();

    List<Map<String, Object>> getNoteCountByType();

    List<Map<String, Object>> getProductCountByType();

    Map<String, Object> getOrderDataByWeek();

    DailyNewDataVO getDailyNewData();

    List<Map<String, Object>> getNoteCountByCategory();

    List<Map<String, Object>> getProductCountByCategory();

    Map<String, Object> getNoteContributeCount();

    List<NoteSearchVo> getHotNote(String noteType);

    List<UserLocationVO> getUserLocations();
}
